<script type="text/javascript" src="${base}/scripts/kcgl/cksh.js"></script>
<div id="cksh_layout" class="easyui-layout" data-options="fit:true" style="width: 100%;height: 100%">
    <table id="cksh-grid"></table>
    <div id="cksh-toolbar">
        <div class="PTools">
            <ul class="niu">
            <#--<li><a href="javascript:void(0);" id="cksh-edit" class="rep" plain="true" style="display: none"-->
            <#--onclick="cksh_editItem('出库')">出库</a>-->
            <#--</li>-->
            <#if gnczList??>
                <#list gnczList as gncz>
                    <li>${(gncz.gnczHtml)!}</li>
                </#list>
            </#if>
            </ul>
            <div class="sea-tool"><a href="javascript:void(0);"><span>高级搜索</span></a></div>
        </div>
        <div class="textcon">
            <table class="tb">
                <tr>
                    <th>销售单号：</th>
                    <td><input name="_xsdh" type="text" class="searchinput-text" style="width:166px;"></td>
                <#-- <th>公&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;司：</th>
     <td><input name="_gs" type="text" class=" searchinput-text"
                data-options="valueField:'id',textField:'jc',panelWidth:'150',editable:'true'"/></td>-->
                    <th>客&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;户：</th>
                    <td>
                        <select class="searchinput-text" name="_kh" style="width:166px;"> </select>
                    </td>
                    <th>出库状态：</th>
                    <td>
                        <select class="easyui-combobox searchinput-text" style="width:166px;"
                                data-options="panelHeight:'150'" id="cksl_yck">
                            <option value="wck">未出库</option>
                            <option value="yck">已出库</option>
                            <option value="">全部</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <th>仓&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;库：</th>
                    <td>
                        <input class="easyui-combobox searchinput-text" data-options="panelHeight:'100',editable:'true'"
                               name="_ck" style="width:166px;"/>
                    </td>
                    <th>销售公司：</th>
                    <td><input name="_gs" type="text" class=" searchinput-text"  style="width:166px;"
                               data-options="valueField:'id',textField:'jc',panelWidth:'150',editable:'true'"/>
                    </td>
                    <th>物资编号：</th>
                    <td><input name="queryCksh.wzbm" type="text" class="searchinput-text" style="width:166px;"></td>
                </tr>
                <tr>
                    <th>制单时间：</th>
                    <td>
                        <input id="zdrqStart" name="zdrqStart" type="text" style="width:166px;"
                               class="easyui-datebox" value="${(startTime?date)!}"/>
                    </td>
                    <td align="center">至</td>
                    <td>
                        <input id="zdrqEnd" name="zdrqEnd" type="text" style="width:166px;"
                               class="easyui-datebox" value="${(endTime?date)!}"/>
                    </td>
                    <th>配送状态：</th>
                    <td>
                        <select class="easyui-combobox searchinput-text" style="width:166px;"
                                data-options="panelHeight:'150'" id="cksl_yps">
                            <option value="">全部</option>
                            <option value="wps">未配送</option>
                            <option value="yps">已配送</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <th>出库时间：</th>
                    <td>
                        <input id="cksjStart" name="cksjStart" type="text" style="width:166px;"
                               class="easyui-datebox" />
                    </td>
                    <td align="center">至</td>
                    <td>
                        <input id="cksjEnd" name="cksjEnd" type="text" style="width:166px;"
                               class="easyui-datebox"/>
                    </td>
                    <td style=" padding-left:5px;"><input type="button" value="" class="submit"  onclick="cksh_search()"/></td>
                </tr>
            </table>
        </div>
    </div>
</div>


